MODULES=		modules/buffer_mgr \
			util/bptree \
			modules/record_mgr \
			modules/executor \
			modules/parser \
			modules/application \

CLEAN=

.PHONY: all clean debug $(MODULES) 

all: $(MODULES)

$(MODULES):
	$(MAKE) -C $@ $(CLEAN)

debug: export DEBUG=-g -DDEBUG
debug: all

clean: CLEAN="clean"
clean: $(MODULES) 

